package org.opens.mybatisplus.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.opens.mybatisplus.pojo.DateTable;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface DateTableMapper extends BaseMapper<DateTable> {

    public int customInsert(DateTable dateTable);

    public List<DateTable> findListByBirthdayBetween(@Param(value = "startTime") LocalDateTime startTime, @Param(value = "endTime") LocalDateTime endTime);

}
